/******************************************************************************
* File description: MaintenanceYingGuang2JiFaGuang.qml
* Function: 维护-荧光检测：开关激发光
* Current Version: 1.0.0
* Author: 张宇轩
* Date: 2024-08-28
*  -----
*  Copyright by 博坤生物 .
 *****************************************************************************/
import QtQuick 2.14
import QtQuick.Controls 2.14
import QtQuick.Layouts 1.14

Item {
    id: root

    /* property 定义开始 */

    /* property 定义结束 */

    RowLayout {
        width: parent.width
        height: 40
        anchors {
            top: parent.top
            topMargin: 16
        }
        spacing: 8

        CustomHorSpacerItem {}

        // 通道
        CustomComboBox {
            id: tongDaoSelection
            Layout.preferredWidth: 140
            Layout.preferredHeight: 40
            comboBgColor: "#FF2F42CD"
            comboFontColor: "#FFFFFFFF"
            comboFontPixelSize: 16
            comboBorderWidth: 0
            comboRadius: 8
            model: ["FAM 通道开", "VIC 通道开", "ROX 通道开", "CY5 通道开"]
            popupBgColor: "#FFFFFFFF"
            showListMaxCountinPage: 4
            indicatorColor: "#FFFFFFFF"
        }

        // 通道全开
        PureButton {
            id: allOpenBtn
            Layout.preferredWidth: 120
            Layout.preferredHeight: 40
            pureBtnColor: "#FF2F42CD"
            pureHoveredColor: "#FF2F42CD"
            pureLabelColor: "#FFFFFFFF"
            pureFontHoveredColor: "#FFFFFFFF"
            pureBtnBorderColor: "transparent"
            pureText: "通道全开"
            disabledPureBtnColor: "#FFF5F5F5"
            disabledPureBtnBorderColor: "#FFD9D9D9"
            disabledPureLabelColor: "#FFBFBFBF"
            // 关闭过渡效果
            isTransition: false
        }

        // 通道全关
        PureButton {
            id: allCloseBtn
            Layout.preferredWidth: 120
            Layout.preferredHeight: 40
            isEnable: false
            pureBtnColor: "#FF2F42CD"
            pureHoveredColor: "#FF2F42CD"
            pureLabelColor: "#FFFFFFFF"
            pureFontHoveredColor: "#FFFFFFFF"
            pureBtnBorderColor: "transparent"
            pureText: "通道全关"
            disabledPureBtnColor: "#FFF5F5F5"
            disabledPureBtnBorderColor: "#FFD9D9D9"
            disabledPureLabelColor: "#FFBFBFBF"
            // 关闭过渡效果
            isTransition: false
        }

    }
}
